﻿using System;

namespace Onetube.Models
{
    public class Activity
    {
        public string Id { get; set; }

        public string DisplayName { get; set; }

        public string ActivityName { get; set; }

        public DateTime Published { get; set; }

        public string PublishedDetailed { get; set; }

        public DateTime Updated { get; set; }

        public Uri Image { get; set; }

        public int Duration { get; set; }

        public string ThumbnailUrl { get; set; }

        public ActivityFeedType ActivityType { get; set; }

        public string GroupId { get; set; }

        public bool IsVideoRelatedActivity
        {
            get
            {
                return this.ActivityType != ActivityFeedType.Channel;
            }
        }
    }
}